<!DOCTYPE html>
<html lang="en">
<!--后台模板在线网址 http://www.sucaihuo.com/modals/5/518/demo/ui_features.html-->
<head>
    <meta charset="utf-8">
    <title>约健体育联盟</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="约健体育联盟">
    <include file="Public/head" />
</head>
<body>
<div id="wrap">
    <include file="Public/top" />
    <div class="container-fluid">
        <include file="Public/sidemenu"/>

        <!-- Main window -->
        <div class="main_container" id="users_page">

            <div class="row-fluid">

                <h2 class="heading">
                    俱乐部视频管理
                </h2>
            </div> <!-- /row-fluid -->


            <!--此处往下为代码改写部分-->
            <div class="row-fluid">
                <div class="widget widget-padding span12">
                    <div class="widget-header">
                        <i class="icon-group"></i>
                        <h5>视频列表</h5>
                        <div class="widget-buttons">
                            <!--<a href="#" data-title="Add User" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>-->
                            <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
                        </div>
                    </div>
                    <div class="widget-body table-responsive ">
                    <p class="layui-btn" style="margin-top: 20px;"><a class="btn btn-success" href="__URL__/addvideo">添加视频</a>
                        <table id="users" class="table table-condensed table-striped table-bordered dataTable">
                            <thead>
                            <tr>
                                <th>序号</th>  
                                <th>视频名称</th>              
                                <th>视频</th>
                                <th>简介</th>
                                <th>操作</th>
                            



                            </tr>
                            </thead>
                            <tbody>
                            <volist name="videolist" id="vo">
                                <tr>
                                    <td>{$vo.vid}</td>
                                    <td>{$vo.videoname}</td>
                                    
             <td>                       
    
         <video controls="controls" width="500px" height="300px" preload="metadata">
            <source src="__PUBLIC__/Uploads/photo/{$vo.videoaddress}" type="video/mp4">
        </video>

        <td>{$vo.videointro}</td>


        </td>

                                      <td>
                                      <a href="__URL__/editvideo/vid/{$vo.vid}"> 修改|</a>
            
                                        <a href="__URL__/delvideo/vid/{$vo.vid}" onclick="return confirm('你确定要删除吗？')">删除</a>
                                        
                              
                                    </td>
                                   
                                
                                </tr>
                            </volist>

                            </tbody>
                        </table>
                    </div> <!-- /widget-body -->
                </div> <!-- /widget -->
            </div> <!-- /row-fluid -->

        </div>
        <!-- /Main window -->

    </div><!--/.fluid-container-->
</div><!-- wrap ends-->
</body>
</html>


